import { http } from 'jindai-api'

export const login = params => http.post('token', params)

export const profile = () => http.get('user/profile')

export const loginOut = () => http.get('user/login-out')
